package com.shiroha.common.exception;

import org.springframework.http.HttpStatus;

import java.io.Serial;

public final class InternalServiceException extends ServiceException {
    @Serial
    private static final long serialVersionUID = 1L;

    public InternalServiceException(String message) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR);
    }

    public InternalServiceException(String message, Throwable cause) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR, cause);
    }
}
